/*****************************************************************
Wowengine3D - v0.1

File: wen_material.h
Creation date: 2012-09-24
*****************************************************************/

/****************************************************************/
#ifndef WEN_MATERIAL_H
#define WEN_MATERIAL_H
//----------------------------------------------------------------
#include "graphics/wen_render.h"
/****************************************************************/

namespace wen
{

class Material
{
public:	
	Material();
	~Material();
	
	const D3DMATERIAL9& GetMaterial() const;

	void SetAmbientColor(float r, float g, float b, float a);
	void SetSpecularColor(float r, float g, float b, float a);
	void SetEmissiveColor(float r, float g, float b, float a);
	void SetDiffuseColor(float r, float g, float b, float a);

	void SetPower(float power);

	void SetTextureName(const std::string& textName);
	std::string& GetTextureName();	

private:
	D3DMATERIAL9 m_kMaterial;
	
	std::string m_strTextureName;	
};

//----------------------------------------------------------------
} // end namespace
//----------------------------------------------------------------
#endif // WEN_MATERIAL_H
//----------------------------------------------------------------